<div class="hero-unit">
    <h4 class="api_main_intro">添加/取消收藏</h4>
    <div class="well">
        添加/取消收藏
    </div>
    <h5>1.接口说明</h5>
	<div>
        /// 支持会员及商家 添加/取消收藏商品
		/// 检测如果存在就删除，不存在就添加
	</div>
    <h5>2.应用场景</h5>
    <h5>3.接口调用说明</h5>
    <h6>3.1 请求说明</h6>
    <table class="table table-bordered table-striped">
        <tr>
            <td>url</td>
            <td>http://www.api.100hg.com/apiTools/router.verify</td>
        </tr>
        <tr>
            <td>格式</td>
            <td>JSON</td>
        </tr>
        <tr>
            <td>请求方式</td>
            <td>POST</td>
        </tr>        
    </table>
    <h6>3.2 请求参数说明</h6>
    <table class="table table-bordered table-striped">
        <tr>
            <th>名称</th>
            <th>类型</th>
            <th>是否必须</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>method</td>
			<td>String</td>
			<td>是</td>
            <td>固定为：product.collect.item</td>
        </tr>
        <tr>
            <td>product_id</td>
			<td>Int</td>
			<td>是</td>
            <td>商品ID</td>
        </tr>
        <tr>
            <td>ticket</td>
			<td>String</td>
			<td>是</td>
            <td>登录凭证</td>
        </tr>
    </table>
    <h6>3.3 返回参数说明</h6>
    <table class="table table-bordered table-striped">
        <tr>
            <th>名称</th>
            <th>类型</th>
            <th>描述</th>
        </tr>
        <tr>
            <td>state</td>
			<td>Int</td>
            <td>状态：0失败、1成功</td>
        </tr>
        <tr>
            <td>msg</td>
			<td>String</td>
            <td>提示信息</td>
        </tr>
    </table>
</div>